package com.engine4cloud.tdf.education.dto.update;

import com.engine4cloud.tdf.common.core.constant.enums.YesNoEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 心理辅导出席表
 *
 * @author wenjie
 * @date 2024-08-13 16:58:05
 */
@Data
@Schema(description = "心理辅导出席表")
public class PsychologicalCounsellingAttendUpdateDTO implements Serializable {
    /**
     * 主键
     */
    @Schema(description = "主键")
    @NotNull(message = "主键不能为空")
    private Long id;

    /**
     * 心理辅导情况分析
     */
    @Schema(description = "心理辅导情况分析", example = "自填")
    @NotBlank(message = "心理辅导情况分析不能为空")
    private String qkfx;

    /**
     * 记录人
     */
    @Schema(description = "记录人")
    @NotBlank(message = "记录人不能为空")
    private String jlr;

    /**
     * 记录时间
     */
    @Schema(description = "记录时间")
    @NotNull(message = "活动表现不能为空")
    private LocalDateTime jlsj;

    /**
     * 是否参加
     */
    @Schema(description = "是否参加", example = "1")
    @NotNull(message = "是否参加不能为空")
    @Size(max = 1)
    private String hasAttend;
}